package com.tgy.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/***
 * @ClassName: Teacher
 * @Description:
 * @Auther: 送一一块二向箔
 * @Date: 17:34 2021/12/15
 * @version : V1.0
 */
@Data
public class Teacher implements Serializable {
    private int id;
    private String name;
    //一个老师多个学生
    private List<Student> students;
}
